package com.hxzy.shop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hxzy.shop.common.dto.auth.req.RoleListReq;
import com.hxzy.shop.common.dto.auth.resp.RoleListResp;
import com.hxzy.shop.entity.AdminRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author wy
 * @Description 后台角色
 * @Date 2023/5/12 14:09
 * @Version 1.0
 */
public interface AdminRoleMapper extends BaseMapper<AdminRole> {

    /**
     * 分页查询 AdminRole
     * @param req
     * @return
     */
    List<RoleListResp>  roleList(@Param(value = "req") RoleListReq req);

}
